package com.foreveross.demo.impl;

import com.foreveross.demo.inf.Greetings;
import org.springframework.stereotype.Service;

@Service
public class GreetingsImpl implements Greetings {
    public String say(String name) {
        try {
            Thread.sleep(3000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        return "from provide: " + name;
    }
}